package lemon.dog.domain;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * 
 * @TableName t_article
 */
@Data
@TableName(value ="t_article")
public class Article implements Serializable {
    @TableId
    private Long articleId;

    private Long articleUserId;

    private String articleTitle;

    private String articleContent;

    private Long articleLikeCount;

    private Long articleCommentCount;

    private Long articleViewCount;

    private Date articleCreateDate;

    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;

}